<%@include file="index.jsp"%>
<%@ page import="com.verbetia.mbrainz.tags.TagItem" %>
<jsp:useBean id="tagsearch" class="com.verbetia.mbrainz.search.TrackSearchTag" />

<% java.util.ArrayList a = tagsearch.searchTrackTags(request.getParameter("title"), request.getParameter("artist") ); %>


 <div id="content">           
        <div id="page"><div id="page-contents">

<h2> Tags for: </h2>
<h1><%=request.getParameter("title")%>  <%= request.getParameter("artist") %> </h1>
<table>

<% 

  if (a!=null)
   for (int i=0; i!=a.size(); i++)
   { 
		TagItem r = (TagItem)a.get(i);   
   %>
	<tr>
	 <td><a rel="tag" class="<%= TagItem.setSizeClass(r.getCount()) %>" ><%= r.getName() %></a></td>
	 <td><h3><%= r.getCount() %></h3></td>
	</tr>

 <%  }%>
 </table>
 
</div></div></div>
  
